<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

</head>
<body>
	

	<jsp:include page="Adminmenu.jsp" />
	

	<br><br><br><br>

	<div id="content" align="center"S>
		<h2>
			<c:out value="${title}" />
		</h2>
		<p>
			<c:out value="${message}" />
		</p>
		<table class="listing">
			<colgroup>
				<col class="buttoncell" />
				<col class="buttoncell" />
				<col />
				<col />
			</colgroup>
			<tbody>
			<table border="5" cellspacing="10" cellpadding="10">
				<tr>
					<th></th>
					<th></th>
					<th>ID</th>
					<th>Vorname</th>
					<th>Nachname</th>
					<th>Geburtsdatum</th>
					<th>Plz</th>
					<th>Wohnort</th>
					<th>Straße</th>
					<th>Eintrittsdatum</th>
					<th>Bemerkung</th>
				</tr>
				<c:forEach items="${kunden}" var="kunden">
					<tr>
						<td><a
							href="KundeBearbeiten.html?id=<c:out value="${kunden.id}"/>"> <img
								src="images/button_edit.png" alt="Icon - Bearbeite Kunde" />
						</a></td>
						<td><a
							href="LoescheKunde.html?id=<c:out value="${kunden.id}"/>"> <img
								src="images/button_drop.png" alt="Icon - Lösche Kunde" />
						</a></td>
			
						<td><a> <c:out value="${kunden.id}" />
						</a></td>
			
						<td><a> <c:out value="${kunden.vorname}" />
						</a></td>

						<td><a> <c:out value="${kunden.nachname}" />
						</a></td>

						<td><a> <c:out value="${kunden.gebdatum}" />
						</a></td>

						<td><a> <c:out value="${kunden.plz}" />
						</a></td>

						<td><a> <c:out value="${kunden.ort}" />
						</a></td>

						<td><a> <c:out value="${kunden.strasse}" />
						</a></td>

						<td><a> <c:out value="${kunden.eintrittsdatum}" />
						</a></td>
 
						<td><a> <c:out value="${kunden.bemerkung}" />
						</a></td>

					</tr>
				</c:forEach>
			</table>	
			</tbody>
		</table>
	</div>
</body>
</html>


